interface baseForm {
  code: number;
  message: string;
  ok: boolean;
}
export type categoryDataListForm = categoryDataForm[];

export interface categoryDataForm {
  createTime: string;
  id: number;
  category1Id?: number;
  category2Id?: number;
  name: string;
  updateTime: string;
}

interface attrValueForm {
  attrId: number;
  id: number;
  valueName: string;
}

export type attrValueListForm = attrValueForm[];

export interface categoryResponseForm extends baseForm {
  data: categoryDataListForm;
}

export interface dataItemForm {
  attrName: string;
  attrValueList: attrValueListForm;
  categoryId: number;
  categoryLevel: number;
  id: number;
}
export type dataItemListForm = dataItemForm[];

export interface attrDataResponseForm {
  data: dataItemListForm;
}
